;This file should generte error for almost evrey line in the file.

;some leagl line that define some legal label
1ONE:	.data 		1,2,3,4,5,6,7
TWO:	.data		-4,-5,-6

;one legal instructoin label 
LABEL:		not r1


;error label is longer than 30 char
aIlgalLabelThatLongerThen30Char:	.data	0
;errors in .data
D&T:		.data	0,,0
DATAERR:	.data 	2a,3,-b43
FT:		.data	0,1,2,
LM:		.data
		.data 	8-6,4+5

;errors in .string
STR_MY:		.string "cant have a _ in label"
STR:		.string "label must be close
STRTMP:		.string  label illigael
STRT:		.string  label "illigael"
STRTM:		.string  label illigael"

		.extern 2label
		.entry l&l

;errors in mov
mov:		mov r2, 	r3
		mov
		mov r1
		mov r1, 	r2 ,	r3
		mov r1, 	#0
		mov ,
		mov , r1

;errors in cmp
cmp:		cmp r2, 	r3
		cmp
		cmp r1
		cmp r1, 	r2 ,	r3

;errors in add
add:		add r2, 	r3
		add
		add r1
		add r1, 	r2 ,	r3
		add r1, 	#0

;errors in sub
sub:		sub r2, r3
		sub
		sub r1
		sub r1, 	r2 ,	r3
		sub r1, 	#0

;errors in not
not:		not r0
		not ONE[TWO]
		not r0 , 	r7
		not TWO
		not #8
		not

;errors in clr
clr:		clr r3
		clr r0,		 r1
		clr #-8
		clr

;errors in lea
lea:		lea ONE,		TWO
		lea r1,		TWO
		lea
		lea r8
		lea ONE[TWO],

;errors in inc
inc:		inc r1
		inc #8
		inc r1 , 	r3
		inc

;errors in dec
dec:		dec r1
		dec #8
		dec r1 , 	r3
		dec

;errors in jmp
jmp:		jmp LABEL
		jmp #8
		jmp r1 , 	r3
		jmp ONE[TWO]
		jmp r6
		jmp ONE[r0]
		jmp

;errors in bne
bne:		bne LABEL
		bne #8
		bne r1 , 	r3
		bne ONE[TWO]
		bne r6
		bne ONE[r0]
		bne

;errors in red
red:		red LABEL
		red #100
		red 
		red LABEL, LABEL

;errors in prn
prn:		prn LABEL
		prn 
		prn r2, r3

;errors in jsr
jsr:		jsr LABEL
		jsr #8
		jsr r1 , 	r3
		jsr ONE[TWO]
		jsr r6
		jsr ONE[r0]
		jsr

;errors in rts
rts:		rts 
		rts LABEL
		rts r1, r7

;errors in hlt
hlt:		hlt 
		hlt LABEL
		hlt r1, r7
;instruction line longer than 80 
SOMELABEL:mov                          r2                  ,                   r1
;label that doesn't declare in the file
NODCL:		mov NOLABEL	,NOLABEL













